<?php
require_once __DIR__ . '/../autoload.php';

use Qiniu\Auth;

$accessKey = '1LKFtpGOd7BfMusecxXoCVlK98sMpvH70XaW3ud6';
$secretKey = 'TiRs_KOQFI_Z75jIyicYVSlili0JHbmve70uPR5J';
$auth = new Auth($accessKey, $secretKey);

$bucket = 'rencheng-bucket';
$upToken = $auth->uploadToken($bucket);

echo $upToken;
